package com.suredy.app.plan.model;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.suredy.core.model.BaseModel;

@Entity
@Table(name = "T_APP_PLANITEM")
public class PlanPlace extends BaseModel{
	private String placeName;
	private String placeId;
	private String grabberName;
	private String grabberId;
	private String TestTypeName;
	private String TestTypeId;
	private String code;
	private int orderNo;
	private int status;
	
	@Transient
	private String planInfoId;
	
	@ManyToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY)
	@JoinColumn(name="planinfo_id")
	private PlanInfo planInfo;

	
	public String getPlaceName() {
		return placeName;
	}

	
	public void setPlaceName(String placeName) {
		this.placeName = placeName;
	}

	
	public String getPlaceId() {
		return placeId;
	}

	
	public void setPlaceId(String placeId) {
		this.placeId = placeId;
	}

	public String getGrabberName() {
		return grabberName;
	}


	
	public void setGrabberName(String grabberName) {
		this.grabberName = grabberName;
	}


	
	public String getGrabberId() {
		return grabberId;
	}


	
	public void setGrabberId(String grabberId) {
		this.grabberId = grabberId;
	}


	public String getTestTypeName() {
		return TestTypeName;
	}

	
	public void setTestTypeName(String testTypeName) {
		TestTypeName = testTypeName;
	}

	
	
	
	public String getTestTypeId() {
		return TestTypeId;
	}


	
	public void setTestTypeId(String testTypeId) {
		TestTypeId = testTypeId;
	}


	public int getOrderNo() {
		return orderNo;
	}

	
	public void setOrderNo(int orderNo) {
		this.orderNo = orderNo;
	}

	
	
	public String getCode() {
		return code;
	}


	
	public void setCode(String code) {
		this.code = code;
	}


	public int getStatus() {
		return status;
	}

	
	public void setStatus(int status) {
		this.status = status;
	}

	
	public PlanInfo getPlanInfo() {
		return planInfo;
	}

	
	public void setPlanInfo(PlanInfo planInfo) {
		this.planInfo = planInfo;
	}


	
	public String getPlanInfoId() {
		return planInfoId;
	}


	
	public void setPlanInfoId(String planInfoId) {
		this.planInfoId = planInfoId;
	}

}
